package com.amado.course02;

public class Variable2_3 {
	public static void main(String[] args) {
		// 变量的类型int,变量的名称是a,变量的值是0
		int a = 2,b=3,c=4;
		System.out.println(a);
		System.out.println(b);
		System.out.println(c);
		// 2+3+4=9
		a = a+b+c;
		// 9-3-4 =2
		b = a-b-c;
		// 9-2-4 = 3  
		c = a-b-c;
		// 9-2-3 =4d
		a = a-b-c;
		System.out.println(a);
		System.out.println(b);
		System.out.println(c);
	}
}
